Repository navigation
fix: upgrade golang.org/x/net to v0.60.0 - #3606
Closed
chainloop-platform[bot] wants to merge 1 commit into
Closed
chainloop-platform[bot] wants to merge 1 commit into
chainloop-platform[bot] wants to merge 1 commit into
Conversation
Contributor
Author
AI Session Checks —
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Upgraded
golang.org/x/nettov0.60.0in the root module andextras/daggerto remove the vulnerable HTTP/2 trailer parsing code path flagged by GO-2026-6603. The nestedextras/daggermodule also needed its Go directive and transitivex/*dependencies refreshed to satisfy the patched module's requirements.Vulnerability Fixed
GO-2026-6603-golang.org/x/net(HIGH):golang.org/x/net/http2can allocate disproportionate memory from maliciousTrailerheaders on HTTP/2 servers, enabling denial of service.Changes Made
golang.org/x/netfromv0.59.0tov0.60.0ingo.modand refreshedgo.sum.golang.org/x/netfromv0.58.0tov0.60.0inextras/dagger/go.modand refreshedextras/dagger/go.sum.extras/dagger/go.mod's Go directive to1.26.0and refreshed indirectgolang.org/x/sys,golang.org/x/text, andgolang.org/x/syncentries required by the patched module graph.Verification
Ran
syft dir:/workspace/run/repo -o cyclonedx-json=/workspace/run/sbom.json && grype sbom:/workspace/run/sbom.json --only-fixed -o json > /workspace/run/grype.jsonagainst the patched repository. Verification outcome:resolved—grypeno longer reportsGO-2026-6603-golang.org/x/netfor the scanned SBOM.Risk Assessment
View the risk assessment in Chainloop